# This is a test commit in master branch
cmake_minimum_required(VERSION 3.10)
project(projection)
#set(CMAKE_BUILD_TYPE "Debug")
set(CMAKE_BUILD_TYPE "Release")

set(CMAKE_CXX_STANDARD 14)
find_package(PCL)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")
add_definitions(${PCL_DEFINITIONS})
find_package(OpenCV REQUIRED)
include_directories(${PCL_INCLUDE_DIRS} ${OpenCV_INCLDE_DIRS})
include_directories(/usr/local/include/lyxutils)
link_directories(/usr/local/lib)

add_executable(projection main.cpp)
target_link_libraries(projection utils ${PCL_LIBRARIES} ${OpenCV_LIBS})

install(TARGETS projection RUNTIME DESTINATION bin)